package UMC_TOSTRING;

public class Example {
    ArrayList bool1(String arr[]) {
        ArrayList res = new ArrayList();
        for (int i = 0; i < arr.length; i++) {
            String b = arr[i];
            res.add(b);
        }
        return res;
    }
    // correct one
    ArrayList bool2(String arr[]) {
        ArrayList res = new ArrayList();
        for (int i = 0; i < arr.length; i++) {
            String b = arr[i];
            res.add(b.toString());
        }
        return res;
    }

}
